package lab14;

class OrangeSeller implements ISeller{

	static final String goods="Oranges";
	
	@Override
	public void sell(Object goods, int quantity) {
		System.out.println("Buying " + quantity + " items of "
				+ goods.toString() + ".");
	}

	@Override
	public boolean getMoney() {
		System.out.println("Got money.");
		return false;
	}

	@Override
	public void sell(int quantity) {
		System.out.println("Buying " + quantity + " items of "
				+ goods.toString() + ".");
		
	}

}